package models

import "github.com/jinzhu/gorm"

// 模型定义gorm标签 属性值
type Article struct {
	gorm.Model
	Title   string `gorm:"not null"`
	Content string
	Desc    string `gorm:"-"` // 忽略这个字段的迁移
}
